package org.example.testdemo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class PageReq {

    /** 当前页数，从1开始 **/
    private Integer current;

    /** 每页记录数 **/
    private Integer size;

    public PageReq() {
        current = 1;
        size = 5;
    }
}